<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/views/modules/cms/front/include/taglib.jsp"%>
<!DOCTYPE html>
<html>
<head>
	<%-- <title>首页</title> --%>
	<meta name="decorator" content="ems_${site.theme}_front" />
	<meta name="description" content="JeeSite ${site.description}" />
	<meta name="keywords" content="JeeSite ${site.keywords}" /> 
	<script type="text/javascript">
	function joinForm()
	{
		location = "${ctx}/weixin/joinForm?sign=${course.sign}";
	}
</script>
</head>
<body>
	
	<header class="mui-bar mui-bar-nav" style="background:url('${ctxStatic }/weixin/images/navbg.jpg');"> 
		<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left" style="color: #fff;"></a>
			<div style="width:80%; overflow: hidden; margin:0  10%; line-height: 44px; text-align:left; vertical-align: middle; height: 100%;color:#fff;">
			${course.name }
			 </div> 
	</header>
 
 
		<div class="mui-content" style="padding-top:50px; padding-bottom: 60px; overflow-y: scroll; height:auto;">
		     
				 
			<div class="mui-content-padded" style="margin-top: 30px;">	 
		     		<h3 style="text-align: center;">${course.name }</h3> 
		     	<div style="padding: 20px; font-size: 14px; color: #999;">
					${course.rule }
		     	</div>
		     </div>
		     <c:if test="${'yes' eq course.valid }">
		     	<center><button type="button" class="mui-btn mui-btn-primary" onclick="joinForm();">我已经阅读报名简章立即报名</button></center>
		     </c:if>
			  <c:if test="${'no' eq course.valid }">
			  	<center>${course.name }不在有效报名时间段内</center>
			  </c:if>
		     <br />
		</div>
</body>
</html>